package com.gsy.request;

import com.gsy.aop.annotation.NotRequired;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Date 2022/3/5 22:03:23
 * @Author gsy
 */
@ApiModel
public class GetUsersByTypeAndCharRequest extends BaseRequest {
    @ApiModelProperty(name = "id", value = "学号", dataType = "Long", example = "20181401000")
    @NotRequired
    protected Long id;

    @ApiModelProperty(name = "username", value = "用户", dataType = "String", example = "用户")
    @NotRequired
    private String username;

    @ApiModelProperty(name = "classes", value = "所属班级", dataType = "String", example = "所属班级")
    @NotRequired
    private String classes;

    @ApiModelProperty(name = "address", value = "地址", dataType = "String", example = "地址")
    @NotRequired
    private String address;

    @ApiModelProperty(name = "type", value = "type", dataType = "Integer", example = "1")
    private Integer type;

    @ApiModelProperty(value = "当前页",example = "1")
    private Integer currPage;

    @ApiModelProperty(value = "每页记录数",example = "100")
    private Integer pageNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
